#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>

int main()
{
    long int n = 0;
    long int sum = 0;
    scanf("%d", &n);

    for (n; n > 0; n--)
        sum += n;
    printf("%ld", sum);

    return 0;
}